package com.yunyike.service;

import java.util.List;

import com.yunyike.model.IdentityCard;

public interface IIdentityCardService {

	public int deleteByPrimaryKey(String identityCardId);

	public int insert(IdentityCard record);

	public int insertSelective(IdentityCard record);

	public  IdentityCard selectByPrimaryKey(String identityCardId);

    public int updateByPrimaryKeySelective(IdentityCard record);

    public int updateByPrimaryKey(IdentityCard record);
    
    public List<IdentityCard> selectByIdentityCard(IdentityCard idcard);
	
	public IdentityCard getDefaultIdentityCard(String userId);
	
    public int setDefaultIdentityCard(IdentityCard record);
    
    public  IdentityCard selectDefaultIDCard(String userId);
    
    public int chooseIDCard(IdentityCard idcard , String sessionId);
    
    public boolean checkIDCard(IdentityCard idcard , String sessionId);
    
    public IdentityCard getIdentityCardByName(String receivingName);
    
}
